package com.xian.operator;

public class OperatorDemo1 {
    public static void main(String[] args) {
        //目标：基本算术运算符应用

        int a = 20;
        int b = 3;

        System.out.println(a + b);
        System.out.println(a - b);
        System.out.println(a * b);
        System.out.println(a / b);  //int  6.3333-->6
        System.out.println(a * 1.0 / b);  //double  6.3333
        System.out.println(a % b);




    }
}
